﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/admin/admin.master" AutoEventWireup="true" CodeBehind="DiseaseSymptomsEdit.aspx.cs" Inherits="web.admin.DiseaseSymptomsEdit" 
    Title="疾病症状关联" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="SubMenu_Item" cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" border="0">
                        <tbody>
                            <tr>
                                <td class="Current_Item" id="TD2">疾病症状关联</td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
	            <td>
	                <asp:Label ID="TitleName" runat="server"/>
	            </td>
	        </tr>
	    </tbody>
	</table>
	<div style="overflow:auto; height: 500px"> 
        <table cellspacing="0" cellpadding="0" width="100%" border="0">
            <tbody>	        
                <tr>
	                <td>
                       <asp:GridView ID="diseaseSymptomList" runat="server" AutoGenerateColumns="False"  DataKeyNames="id" SkinID="orange" OnDataBound="DataBound">
                            <Columns>
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Label ID="Label1" Text="状态" runat="server"/>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:CheckBox ID="IsBind" runat="server" />
                                    </ItemTemplate>
                                    <ItemStyle Width="40%" HorizontalAlign="Left"/>
                                </asp:TemplateField>  
                                <asp:TemplateField>
                                    <HeaderTemplate>
                                        <asp:Label ID="Label2" Text="症状名称" runat="server"/>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <asp:Label ID="SymptomId" Text='<%# Eval("Id") %>' runat="server" Visible="false" />
                                        <asp:Label ID="SymptomName" Text='<%# Eval("Name") %>' runat="server" />
                                    </ItemTemplate>
                                    <ItemStyle Width="60%" HorizontalAlign="left"/>
                                </asp:TemplateField> 
                            </Columns>                       
                        </asp:GridView> 
	                </td>
	            </tr>
	        </tbody>
        </table>
    </div>     
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
       <tr>
            <td>
                <asp:Button ID="UpdateButton" runat="server"  CausesValidation="True" Text="修改" OnClick="UpdateButton_click"/> &nbsp;
                <asp:Button ID="UpdateCancelButton" runat="server" CausesValidation="False" Text="取消" OnClick="CancelButton_click"/>
            </td>
        </tr> 
    </table>	             
</asp:Content>
